package com.ajz.sendsms.service;

import org.springframework.scheduling.annotation.Async;

/**
 * 
 * <p> </p>
 *
 * @author xyj
 * @date 2018年11月7日
 */
public interface AliyunService {
	/**
	 * 发送验证码
	 * @param mobile
	 * @param code
	 * @throws Exception
	 */
    @Async("taskExecutor")
    void sendVerificationCode(String mobile, String code) throws Exception;

//    @Async("taskExecutor")
//    void sendSelfLiftingMessage(String mobile, String commidity, String name, String phone) throws Exception;
}
